Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Use of environment variables for controlling the active mutation #3122

Merged
merged 11 commits into from
Dec 20, 2024

Conversation

dupdob
Copy link
Member

@dupdob dupdob commented Nov 24, 2024

Restore and improve the use of an environment variable to control the active mutation.
Now each runner gets a specific environment variables to prevent race condition when executing the test.
The variable is used when there is a single active mutation for the test session.

Also, disable coverage analysis based optimizations when coverage capture seems to have failed (no coverage reported).

This changes will allow support for xUnitV3 tests, albeit slow.

Note: I had to upgrade the F# integration test project to Net 8.0 because Net 6.0 was not available on the CI runner and this broke the build. I see no reason why this could be related to the changes I made, so I assume this is due to Net 6.0 being phased out by MS.

@dupdob dupdob force-pushed the restore_env_variable_controls branch 4 times, most recently from 348ad46 to 9b885e9 Compare November 25, 2024 10:53
@dupdob dupdob force-pushed the restore_env_variable_controls branch from 9b885e9 to 6ec42a3 Compare November 25, 2024 12:26
@dupdob dupdob marked this pull request as ready for review November 25, 2024 14:10
Copy link
Member

@richardwerkman richardwerkman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, some small remarks

@rouke-broersma rouke-broersma changed the title Restore the use of environment variables for controlling the active mutation feat: Restore the use of environment variables for controlling the active mutation Dec 20, 2024
@rouke-broersma rouke-broersma changed the title feat: Restore the use of environment variables for controlling the active mutation feat: Use of environment variables for controlling the active mutation Dec 20, 2024
@rouke-broersma rouke-broersma enabled auto-merge (squash) December 20, 2024 11:25
@rouke-broersma rouke-broersma merged commit 035fce3 into master Dec 20, 2024
10 checks passed
@rouke-broersma rouke-broersma deleted the restore_env_variable_controls branch December 20, 2024 11:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants